<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>

<script>


const HOST = '196.168.0.1';
const HOST = '123'


HOST = 123;
console.log(Host);
//报错const常量声明.html:18 Uncaught TypeError: Assignment to constant variable.
//也不能重复定义

</script>

</html>